home *** CD-ROM | disk | FTP | other *** search
- set theXML to ¬
- {class:XML element, XML tag:"start", XML contents:{¬
- "some text", ¬
- {class:XML element, XML tag:"tag", XML attributes:{attribute1:"value1", attribute2:"value2"}}, ¬
- "some more text", ¬
- {class:XML element, XML tag:"tag", XML attributes:{attribute1:"value3", attribute2:"value4"}}}}
-
- generate XML theXML
-
- -- --> "<start>
- -- some text
- -- <tag
- -- attribute1=\"value1\"
- -- attribute2=\"value2\"/>
- -- some more text
- -- <tag
- -- attribute1=\"value3\"
- -- attribute2=\"value4\"/>
- -- </start>
- -- "